package com.chenwenxuan.sync.ui.tree;

import javax.swing.tree.DefaultMutableTreeNode;
import javax.swing.tree.TreePath;

public abstract class JTreeUtilities {
	
	public static DefaultMutableTreeNode toDefaultMutableTreeNode(TreePath path) {
		return (DefaultMutableTreeNode) path.getLastPathComponent();
	}

}
